package com.aliyun.messagemgt.application.service;


import com.aliyun.messagemgt.common.dto.send.MsgRecordVO;
import com.aliyun.messagemgt.common.dto.send.PushChannelInfo;

/**
 * Created with IDEA
 * 推送渠道
 *
 * @author:zhangxingxing 0027012120
 * @date:2019/1/24
 * @time:17:03
 */
public interface MsgPushChannel {

    /**
     * 获取通道类型
     *
     * @return
     */
    Integer getChannelType();

    /**
     * 实际的通道推送
     *
     * @param pushChannelInfo
     * @param msgRecordVO
     * @return 返回推送者维度的结果信息
     */
    void push(PushChannelInfo pushChannelInfo, MsgRecordVO msgRecordVO) throws Exception;

}
